package com.shuaqiu.sboot.login.bean;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;

/**
 * 登录表单对象
 */
@Validated
public class LoginForm {

    /** 用户账号 */
    @ApiModelProperty(value = "用户账号", required = true)
    @NotNull
    private String account;

    /** 用户密码 */
    @ApiModelProperty(value = "用户密码", required = true)
    @NotNull
    private String password;

    /** 验证码 */
    @ApiModelProperty(value = "验证码")
    private String verifyCode;

    public String getAccount() {
        return account;
    }

    public void setAccount(final String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(final String password) {
        this.password = password;
    }

    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(final String verifyCode) {
        this.verifyCode = verifyCode;
    }
}
